export const RandomCode = (number:number) => {
  let code = 1;
  while (code <= Math.pow(10, number - 1)) {
    code = Math.floor(Math.random() * Math.pow(10, number));
  }
  return code;
};